<form id="auto-data-form" action="area/saveOrUpdate" class="form-horizontal bv-form" method="post" role="form">
	<div style="display: none;">
		<input id="model.id" name="model.id" value="#(model.id)" placeholder="主键" type="hidden" />
	</div>
	<div class="form-group">
		<label for="model.name" class="col-sm-2 control-label">区域名称</label>
		<div class="col-sm-4">
			<input id="model.name" name="model.name" value="#(model.name)" placeholder="区域名称" class="form-control input-md" required maxlength="64"/>
		</div>
		<label for="model.code" class="col-sm-2 control-label">区域编码</label>
		<div class="col-sm-4">
			<input id="model.code" name="model.code" value="#(model.code)" placeholder="区域编码" class="form-control input-md" required maxlength="32"/>
		</div>
	</div>
	
	<div class="form-group">
		<label for="model.phone" class="col-sm-2 control-label">电话区号</label>
		<div class="col-sm-4">
			<input id="model.phone" name="model.phone" value="#(model.phone)" placeholder="电话区号" class="form-control input-md" maxlength="32"/>
		</div>
		<label for="model.zip" class="col-sm-2 control-label">邮政编码</label>
		<div class="col-sm-4">
			<input id="model.zip" name="model.zip" value="#(model.zip)" placeholder="邮政编码" class="form-control input-md" maxlength="32"/>
		</div>
	</div>
	

	
	<div class="form-group">
		<label for="model.ename" class="col-sm-2 control-label">英文名称</label>
		<div class="col-sm-4">
			<input id="model.ename" name="model.ename" value="#(model.ename)" placeholder="区域英文名称" class="form-control input-md" maxlength="64"/>
		</div>
		<label for="model.spell" class="col-sm-2 control-label">区域拼音</label>
		<div class="col-sm-4">
			<input id="model.spell" name="model.spell" value="#(model.spell)" placeholder="区域拼音" class="form-control input-md" maxlength="64"/>
		</div>
	</div>
	
	<div class="form-group">
		<label for="model.parentId" class="col-sm-2 control-label">上级区域</label>
		<div class="col-sm-4">
			<input id="model.parentId" name="model.parentId" value="#(model.parentId)" placeholder="上级区域" class="form-control input-md auto-tree-select" data-uri="area/children" data-text="#(parent.name??)" required data-bv-integer maxlength="10" type="number"/>
		</div>
		<label for="model.hot" class="col-sm-2 control-label">热点区域</label>
		<div class="col-sm-4">
			#@dict_select("model.hot",model.hot,"YES_OR_NO",false,"热点区域","required")
		</div>
	</div>
	
	<div class="form-group">
		<label for="model.level" class="col-sm-2 control-label">区域级别</label>
		<div class="col-sm-4">
			#@dict_select("model.level",model.level,"AREA_LEVEL",false,"区域级别","required")
		</div>
		<label for="model.state" class="col-sm-2 control-label">区域状态</label>
		<div class="col-sm-4">
			#@dict_select("model.state",model.state,"DATA_STATE",false,"区域状态","required")
		</div>
	</div>
	
	<div class="form-group">
		<label for="model.sort" class="col-sm-2 control-label">排序号</label>
		<div class="col-sm-10">
			<input id="model.sort" name="model.sort" value="#(model.sort)" placeholder="排序号" class="form-control input-md" required data-bv-integer maxlength="10" type="number"/>
		</div>
	</div>
	
	<div class="form-group">
		<label for="model.remark" class="col-sm-2 control-label">描述</label>
		<div class="col-sm-10">
			<textarea id="model.remark" name="model.remark" placeholder="描述" class="form-control input-md" maxlength="1024">#(model.remark)</textarea>
		</div>
	</div>
	
</form>
<script type="text/javascript">
	$(document).ready(function() {
	});
</script>